<?php

namespace App\Http\Controllers;

use App\Http\Actions\CreateUser;
use Illuminate\Http\Request;

class UserController extends Controller
{
    public function index(CreateUser $user){
    	$user->execute([
    		'name' => 'alexwalt',
    		'email' => 'xxxx@123.com',
		    'password' => md5(123)
	    ]);
    }
}
